SRC=$(wildcard *.cpp)
OBJ=$(SRC:.cpp=.o)

all: clean $(OBJ) move
	
%.o:%.cpp
	g++ -fPIC -c $< -o $@ -lm -lSDL_image

clean:
	rm -f *.o
	
move:
	mv *.o ../../../bin
